package com.teamall.web.sys.db.dao.mapper;

import com.teamall.web.sys.db.arg.SysUserTokenArg;
import com.teamall.web.sys.db.po.SysUserTokenPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ISysUserTokenMapper {
    
    List<Integer> countByArg(SysUserTokenArg arg);

    List<SysUserTokenPO> selectByArg(SysUserTokenArg arg);

    SysUserTokenPO selectByPrimaryKey(Integer id);

    List<SysUserTokenPO> selectByArgAndPage(SysUserTokenArg arg, RowBounds rowBound);

    int insert(SysUserTokenPO record);

    int insertSelective(SysUserTokenPO record);

    int insertBatch(@Param("list") List<SysUserTokenPO> records);

    int updateByArgSelective(@Param("record") SysUserTokenPO record,
                             @Param("arg") SysUserTokenArg arg);

    int updateByArg(@Param("record") SysUserTokenPO record,
                    @Param("arg") SysUserTokenArg arg);

    int updateByPrimaryKeySelective(SysUserTokenPO record);

    int updateByPrimaryKey(SysUserTokenPO record);
    
    int deleteByArg(SysUserTokenArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}